#include "lan2calgridword.h"
#include <QDebug>
LAN2STA

Lan2CalGridWord::Lan2CalGridWord(const QString &txt, int wh, QWidget *parent)
{
    this->setStyleSheet("QPushButton{background:#ffffff;border:px;}QPushButton:hover{border:1px solid #0091ff;color:#0091ff;}");
    this->setText(txt);
    this->setFixedSize(wh,wh);
    this->setFlat(true);

    connect(this,SIGNAL(clicked(bool)),this,SLOT(slot_click()));
}

void Lan2CalGridWord::slot_click()
{
//    qDebug()<<"cc"<<this->text();
    emit sign_click(text());
}

LAN2END
